def GetType(t, lst, tValue):
    if t == "Guid":
        return "new Guid(" + lst + "[" + tValue + "].ToString());";
    else:
        return "Convert.To" + t + "(" + lst + "[" + tValue + "].ToString());";
result = GetType(type, list, typeValue);
